<h2><?php e($this->pageTitle); ?></h2>
<p><?php e($html->link('Add Tag', '/admin/tags/add')); ?></p>

<table>
	<tr>
		<th>Title</th>
		<th>Edit</th>
		<th>Delete</th>
	</tr>
<?php foreach($tags as $tag): ?>
	<tr>
		<td><?php e($text->truncate($tag['Tag']['title'])); ?></td>
		<td><?php e($html->link('Edit', array('action' => 'edit', 'id' =>$tag['Tag']['id']))); ?></td>
		<td><?php e($html->link('Delete', array('action' => 'delete', 'id' =>$tag['Tag']['id']), null, 'Are you sure?')); ?></td>
	</tr>
<?php endforeach; ?>
</table>